package com.dycong.common.reflect.Reflect.fruits;

import lombok.Data;

/**
 * Created by ${dycong} on 2016/12/9.
 */
@Data
public class Orange implements fruit{

    String name;
    String color;

    public void eat(){
        System.out.println(Apple.class.getClass().getName()+"   "+name+"    "+color);    }

    public void love(String name){
        System.out.println("my love "+name+" girl");
    }
}
